package com.jxd.dianping.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class ShopReq {
    @NotBlank(message = "门店名不为空")
    private String name;
    @NotNull(message = "人均价格不为空")
    private Integer pricePerMan;
    @NotNull(message = "纬度不为空")
    private BigDecimal latitude;
    @NotNull(message = "经度不为空")
    private BigDecimal longtitude;
    @NotNull(message = "品类不为空")
    private Integer categoryId;
    private String tags;
    @NotBlank(message = "营业开始时间不为空")
    private String startTime;
    @NotBlank(message = "营业结束时间不为空")
    private String endTime;
    @NotBlank(message = "地址不为空")
    private String address;
    @NotNull(message = "商户不为空")
    private Integer sellerId;
    @NotBlank(message = "图标不为空")
    private String iconUrl;


}
